package cn.com.cbj.entity;

import java.io.Serializable;
/**死信队列实体对象信息
 * @Author:debug (SteadyJack)
 **/
public class DeadInfo implements Serializable{
    private Integer id;                         //标识id
    private String msg;                         //描述信息
    //空的构造方法
    public DeadInfo() {
    }
    //包含所有参数的构造方法
    public DeadInfo(Integer id, String msg) {
        this.id = id;
        this.msg = msg;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "DeadInfo{" +
                "id=" + id +
                ", msg='" + msg + '\'' +
                '}';
    }
}

